package com.ccjq.jq173.order.po;

import java.util.Date;
import java.util.List;

public class Order {
    private String orderId;//订单ID
    private Date createTime;//订单生成时间
    private int payment;//支付类型（1微信；2支付宝）
    private double amount;//总金额
    private String receiver;//收货人姓名

    private String province;//省份
    private String city;//城市
    private String county;//区县
    private String address;//地址
    private String zipcode;//邮政编码

    private String telphone;//联系电话
    private String userId;//用户ID

    private List<OrderProduct> orderps;//订单中的商品信息

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getPayment() {
        return payment;
    }

    public void setPayment(int payment) {
        this.payment = payment;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<OrderProduct> getOrderps() {
        return orderps;
    }

    public void setOrderps(List<OrderProduct> orderps) {
        this.orderps = orderps;
    }
}
